package ycl.base.common.properties;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 发邮件参数
 *
 * @author: YCL
 * @date: 2021-10-19 16:58:26
 */
@Data
@Component("emailProperties")
@ConfigurationProperties(prefix = "email")
public class EmailProperties {

	@ApiModelProperty("邮箱")
	private String username;

	@ApiModelProperty("授权码")
	private String password;
}
